package com.ssm.mapper;

import com.ssm.entity.tb;
import com.ssm.entity.tbExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface tbMapper {
    long countByExample(tbExample example);

    int deleteByExample(tbExample example);

    int deleteByPrimaryKey(Long id);

    int insert(tb record);

    int insertSelective(tb record);

    List<tb> selectByExample(tbExample example);

    tb selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") tb record, @Param("example") tbExample example);

    int updateByExample(@Param("record") tb record, @Param("example") tbExample example);

    int updateByPrimaryKeySelective(tb record);

    int updateByPrimaryKey(tb record);
}